<?php
/** .-------------------------------------------------------------------
 * |  Software: [HDPHP framework]
 * |      Site: www.hdphp.com
 * |-------------------------------------------------------------------
 * |    Author: 向军 <2300071698@qq.com>
 * |    WeChat: aihoudun
 * | Copyright (c) 2012-2019, www.houdunwang.com. All Rights Reserved.
 * '-------------------------------------------------------------------*/
//配置首页
Route::get('/index.html', 'home/entry/index');
///index/{page}.html
//如果首页有分页效果，配置pageget参数的请求地址
Route::get('/index/{page}.html', 'home/entry/index');

//配置内容页路由
//http://localhost/c71/blog/project/index.php?s=home/content/index&aid=5
//{aid(aid是get参数的键名)}{}是get参数的语法 每一个参数用/区分
Route::get('/content/{aid}.html', 'home/content/index');

Route::get('/listpage/c/{cid}.html', 'home/listpage/index');
Route::get('/listpage/t/{tid}.html', 'home/listpage/index');

